package model

import "gorm.io/gorm"

type Admin struct {
	gorm.Model
	Username string `gorm:"unique;type:varchar(10)"json:"username"`
	Usertype string `gorm:"type:varchar(10)"`
	Password string `gorm:"type:varchar(10)"json:"password"`
	Email    string `gorm:"type:varchar(50)"json:"email"`
	Phone    string `gorm:"type:varchar(20);default:'12315'" json:"phone"`
}
